﻿<script type="text/javascript">
    $(".img_refresh_captcha").click(function () {
        $(".captcha_img").attr('src', "");
        $(".captcha_img").attr('src', "/Captcha/Show");
    });
</script>

@model VisaApp.Models.Captcha
@Html.TextBoxFor(m => m.CaptchaValue, new { @class = "captcha_input inputTextSearxh" })
<img src='@Url.Content("~/Captcha/Show")' alt="" class="captcha_img" />
<a href="javascript:void(0)"><img src="/Content/images/ajax-refresh-icon.gif" 
alt="Lấy mã khác" class="img_refresh_captcha" style="margin-left: 5px;"></a>
@Html.ValidationMessageFor(model => model.CaptchaValue)
